<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibQQt: QQtSoundEffect Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibQQt
   &#160;<span id="projectnumber">v3.1</span>
   </div>
   <div id="projectbrief">开源、跨平台Qt应用程序框架中间件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_q_qt_sound_effect-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QQtSoundEffect Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The QQtAudioEffect class 未实现  
 <a href="class_q_qt_sound_effect.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qqtsoundeffect_8h_source.html">qqtsoundeffect.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for QQtSoundEffect:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_q_qt_sound_effect.png" usemap="#QQtSoundEffect_map" alt=""/>
  <map id="QQtSoundEffect_map" name="QQtSoundEffect_map">
<area href="class_q_qt_audio_manager.html" title="The QQtAudioManager class 为用户提供连接声卡的通道，一个Manager包括：输入选择，输出选择，输入读信号，..." alt="QQtAudioManager" shape="rect" coords="0,56,119,80"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:af4dcef0432602342a7febbbc9587cfbb"><td class="memItemLeft" align="right" valign="top"><a id="af4dcef0432602342a7febbbc9587cfbb"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtSoundEffect</b> (QObject *parent=nullptr)</td></tr>
<tr class="separator:af4dcef0432602342a7febbbc9587cfbb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d3cc425711872e18cfd97a807782809"><td class="memItemLeft" align="right" valign="top"><a id="a8d3cc425711872e18cfd97a807782809"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>play</b> (QString localFile)</td></tr>
<tr class="separator:a8d3cc425711872e18cfd97a807782809"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a316a433f00126560d7f2fbf94912732e"><td class="memItemLeft" align="right" valign="top"><a id="a316a433f00126560d7f2fbf94912732e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>customPlay</b> (QString localFile)</td></tr>
<tr class="separator:a316a433f00126560d7f2fbf94912732e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_q_qt_audio_manager"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_q_qt_audio_manager')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_q_qt_audio_manager.html">QQtAudioManager</a></td></tr>
<tr class="memitem:af4c15a60e54ddcb24c629cd84faf0da6 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="af4c15a60e54ddcb24c629cd84faf0da6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>QQtAudioManager</b> (QObject *parent=nullptr)</td></tr>
<tr class="separator:af4c15a60e54ddcb24c629cd84faf0da6 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4d1db7a21c13b55dea0febb71bf8a8 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="aee4d1db7a21c13b55dea0febb71bf8a8"></a>
QAudioDeviceInfo &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>inputDeviceInfo</b> ()</td></tr>
<tr class="separator:aee4d1db7a21c13b55dea0febb71bf8a8 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9e51f192c5ac4335f375455b67d48df inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="af9e51f192c5ac4335f375455b67d48df"></a>
QAudioDeviceInfo &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>outputDeviceInfo</b> ()</td></tr>
<tr class="separator:af9e51f192c5ac4335f375455b67d48df inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1fd943d45b78a71e645f81ad35017af inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top">QAudioFormat &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_audio_manager.html#ab1fd943d45b78a71e645f81ad35017af">inputAudioFormat</a> (void)</td></tr>
<tr class="separator:ab1fd943d45b78a71e645f81ad35017af inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4fceb30fc9ce05da564587c5397f4d3 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="ac4fceb30fc9ce05da564587c5397f4d3"></a>
QAudioFormat &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>outputAudioFormat</b> (void)</td></tr>
<tr class="separator:ac4fceb30fc9ce05da564587c5397f4d3 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52342f883617ae2eff12813ae171810c inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_audio_manager.html#a52342f883617ae2eff12813ae171810c">startInput</a> ()</td></tr>
<tr class="separator:a52342f883617ae2eff12813ae171810c inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acebdbef5acc2aa62c437233b70003960 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="acebdbef5acc2aa62c437233b70003960"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>stopInput</b> ()</td></tr>
<tr class="separator:acebdbef5acc2aa62c437233b70003960 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26393ce110da69d23d6988496ddd7d0a inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a26393ce110da69d23d6988496ddd7d0a"></a>
QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>readAll</b> ()</td></tr>
<tr class="separator:a26393ce110da69d23d6988496ddd7d0a inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73a69f6ed2d2ea740974d17b26dcbc14 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a73a69f6ed2d2ea740974d17b26dcbc14"></a>
QByteArray&#160;</td><td class="memItemRight" valign="bottom"><b>read</b> (qint64 maxlen)</td></tr>
<tr class="separator:a73a69f6ed2d2ea740974d17b26dcbc14 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fa3c596503da0410d32dbf332594ff2 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a0fa3c596503da0410d32dbf332594ff2"></a>
QAudioInput *&#160;</td><td class="memItemRight" valign="bottom"><b>inputManager</b> ()</td></tr>
<tr class="separator:a0fa3c596503da0410d32dbf332594ff2 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa47bf607aeac9416151e12d08784a0b9 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="aa47bf607aeac9416151e12d08784a0b9"></a>
QIODevice *&#160;</td><td class="memItemRight" valign="bottom"><b>inputDevice</b> ()</td></tr>
<tr class="separator:aa47bf607aeac9416151e12d08784a0b9 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a094ba272d6a680bf2343b6b496ae1e8d inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a094ba272d6a680bf2343b6b496ae1e8d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>startOutput</b> ()</td></tr>
<tr class="separator:a094ba272d6a680bf2343b6b496ae1e8d inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a603296c1b269fde726488c19af28c9b3 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a603296c1b269fde726488c19af28c9b3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>stopOutput</b> ()</td></tr>
<tr class="separator:a603296c1b269fde726488c19af28c9b3 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f3fdf8ee9f60f4838979f1c85d7a60e inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a9f3fdf8ee9f60f4838979f1c85d7a60e"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>write</b> (const QByteArray &amp;bytes)</td></tr>
<tr class="separator:a9f3fdf8ee9f60f4838979f1c85d7a60e inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3546966142d768cb01af5054ace2133 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="ab3546966142d768cb01af5054ace2133"></a>
QAudioOutput *&#160;</td><td class="memItemRight" valign="bottom"><b>outputManager</b> ()</td></tr>
<tr class="separator:ab3546966142d768cb01af5054ace2133 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af96dccce590726bd4fc5517fe7b68d62 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="af96dccce590726bd4fc5517fe7b68d62"></a>
QIODevice *&#160;</td><td class="memItemRight" valign="bottom"><b>outputDevice</b> ()</td></tr>
<tr class="separator:af96dccce590726bd4fc5517fe7b68d62 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d6f5f8d5d8f5ee9b32fdd920cea9b3b inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a4d6f5f8d5d8f5ee9b32fdd920cea9b3b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>startDefaultInput</b> ()</td></tr>
<tr class="separator:a4d6f5f8d5d8f5ee9b32fdd920cea9b3b inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51eeafdae59df60e3fbf04c1a0045636 inherit pub_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a51eeafdae59df60e3fbf04c1a0045636"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>startDefaultOutput</b> ()</td></tr>
<tr class="separator:a51eeafdae59df60e3fbf04c1a0045636 inherit pub_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header signals_class_q_qt_audio_manager"><td colspan="2" onclick="javascript:toggleInherit('signals_class_q_qt_audio_manager')"><img src="closed.png" alt="-"/>&#160;Signals inherited from <a class="el" href="class_q_qt_audio_manager.html">QQtAudioManager</a></td></tr>
<tr class="memitem:addec5c23fbb3eff8adc436ff9c3e7dcc inherit signals_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="addec5c23fbb3eff8adc436ff9c3e7dcc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>readyRead</b> ()</td></tr>
<tr class="separator:addec5c23fbb3eff8adc436ff9c3e7dcc inherit signals_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_class_q_qt_audio_manager"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_q_qt_audio_manager')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="class_q_qt_audio_manager.html">QQtAudioManager</a></td></tr>
<tr class="memitem:a6551c9d1d11f95a1be7b4c87dce763cb inherit pub_static_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top">static QList&lt; QAudioDeviceInfo &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_qt_audio_manager.html#a6551c9d1d11f95a1be7b4c87dce763cb">availableInputDevices</a> ()</td></tr>
<tr class="separator:a6551c9d1d11f95a1be7b4c87dce763cb inherit pub_static_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae124fe0847c7d99a4f744bdf71b2c00e inherit pub_static_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="ae124fe0847c7d99a4f744bdf71b2c00e"></a>
static QList&lt; QAudioDeviceInfo &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>availableOutputDevices</b> ()</td></tr>
<tr class="separator:ae124fe0847c7d99a4f744bdf71b2c00e inherit pub_static_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a75353f93b00230f6415cc58cf49a20a3 inherit pub_static_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a75353f93b00230f6415cc58cf49a20a3"></a>
static QAudioDeviceInfo&#160;</td><td class="memItemRight" valign="bottom"><b>defaultInputDevice</b> ()</td></tr>
<tr class="separator:a75353f93b00230f6415cc58cf49a20a3 inherit pub_static_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02794494d00c892b990d693ff80a66a3 inherit pub_static_methods_class_q_qt_audio_manager"><td class="memItemLeft" align="right" valign="top"><a id="a02794494d00c892b990d693ff80a66a3"></a>
static QAudioDeviceInfo&#160;</td><td class="memItemRight" valign="bottom"><b>defaultOutputDevice</b> ()</td></tr>
<tr class="separator:a02794494d00c892b990d693ff80a66a3 inherit pub_static_methods_class_q_qt_audio_manager"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The QQtAudioEffect class 未实现 </p>
<p>QSound、QSoundEffect是不能指定输出设备的。 用于播放音效文件，接受指定输出设备。 用于播放多种格式的音效文件，接收指定输出设备。</p>
<p>请不要用来播放大文件，会全部读入内存，然后逐渐删除。 尝试用QQt的，需要切掉wav文件的44头。 现在更新为用QQt的，QQtAudioEffect目标支持多种格式的音效文件。</p>
<p>lame是编码器，解码器用mpg123 </p>
</div><hr/>The documentation for this class was generated from the following file:<ul>
<li>R:/Develop/a0-develop/LibQQt/src/multimedia/<a class="el" href="qqtsoundeffect_8h_source.html">qqtsoundeffect.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>
